home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Utilities / PalmLink / src / smakefile < prev   
Makefile  |  2000-05-06  |  3KB  |  103 lines

  1. #
  2. # PalmLink -- Connect 3Com Palm with Amiga
  3. #
  4. # Makefile, SAS/C
  5. #
  6. # (C) 1998-2000 Richard Körber <rkoerber@gmx.de>
  7. #
  8. #------------------------------------------------------------------
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; either version 2 of the License, or
  13. # any later version.
  14. #
  15. # This program is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18. # GNU General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU General Public License
  21. # along with this program; if not, write to the Free Software
  22. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  23. #
  24. # You must not use this source code to gain profit of any kind!
  25. #
  26.  
  27. OBJP      = objects/
  28.  
  29. #-- palmlink.library --
  30. EXE       = libs:palmlink.library
  31. OBJS      = $(OBJP)PL_Lib.o $(OBJP)PL_Init.o $(OBJP)PL_Socket.o $(OBJP)PL_Serial.o\
  32.             $(OBJP)PL_SLP.o $(OBJP)PL_PADP.o $(OBJP)PL_CMP.o $(OBJP)PL_DLP.o\
  33.             $(OBJP)PL_File.o $(OBJP)PL_ARexx.o
  34.  
  35. INCS      = palmlink_glob.h palmlink_private.h palmlink.h
  36.  
  37. GENFILES  = $(EXE) $(OBJS)
  38.  
  39.  
  40. #-- debug options --
  41. #DBGOPTS   = DBG=FF NOSTRIPDBG
  42. #DBGOPTS   = PROFILE NOSTRIPDBG
  43. DBGOPTS   = STRIPDBG
  44.  
  45. #-- compiler options --
  46. SOPTS     = CPU=68060 OPT
  47. #SOPTS     = CPU=68000 OPT
  48. #SOPTS     =
  49.  
  50. #-- compiler commands --
  51. LIBS      = lib:amiga.lib lib:sc.lib
  52. COPTS     = NOLINK STRIPDBG NOSTACKCHECK PARM=R DATA=NEAR OBJECTNAME=$(OBJP) GST=INCLUDE:all.gst STRMER $(SOPTS)
  53. AOPTS     = ERRORS=0 OPT=NRQLPS NOEXE TO $(OBJP)
  54. #LOPTS     = SC SD NOICONS $(DBGOPTS) LIB $(LIBS)
  55. LOPTS     = B SC SD
  56.  
  57.  
  58. # -- dependencies --
  59. all                     : $(GENFILES)
  60.  
  61. # --- PalmLink Main Library ------------------------------------
  62.  
  63. $(EXE)                  : $(OBJS)
  64.         phxlnk to $(EXE) $(LOPTS) from @<<
  65. $(OBJS)
  66. $(LIBS)
  67. <
  68.  
  69.  
  70. $(OBJP)PL_Lib.o                 : PL_Lib.s
  71.         phxass $(AOPTS) $*.s
  72.  
  73. $(OBJP)PL_Init.o                : PL_Init.c $(INCS)
  74.         sc $(COPTS) $*.c
  75.  
  76. $(OBJP)PL_Socket.o              : PL_Socket.c $(INCS)
  77.         sc $(COPTS) $*.c
  78.  
  79. $(OBJP)PL_Serial.o              : PL_Serial.c $(INCS)
  80.         sc $(COPTS) $*.c
  81.  
  82. $(OBJP)PL_SLP.o                 : PL_SLP.c $(INCS)
  83.         sc $(COPTS) $*.c
  84.  
  85. $(OBJP)PL_PADP.o                : PL_PADP.c $(INCS)
  86.         sc $(COPTS) $*.c
  87.  
  88. $(OBJP)PL_CMP.o                 : PL_CMP.c $(INCS)
  89.         sc $(COPTS) $*.c
  90.  
  91. $(OBJP)PL_DLP.o                 : PL_DLP.c $(INCS)
  92.         sc $(COPTS) $*.c
  93.  
  94. $(OBJP)PL_File.o                : PL_File.c $(INCS)
  95.         sc $(COPTS) $*.c
  96.  
  97. $(OBJP)PL_ARexx.o               : PL_ARexx.c $(INCS)
  98.         sc $(COPTS) $*.c
  99.  
  100.  
  101.  
  102. # -- END --
  103.